<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Secret Enib: Référence de l&#39;espace de nommage primitives</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Secret Enib
   &#160;<span id="projectnumber">1.2 finale</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&#160;associées</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Paquetages</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Paquetages</span></a></li>
      <li><a href="namespacemembers.html"><span>Fonctions&#160;de&#160;paquetage</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence de l'espace de nommage primitives</div>  </div>
</div><!--header-->
<div class="contents">

<p>affichage des primitives opengl  
<a href="#details">Plus de détails...</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprimitives.html#a4789c8af09582cdf3ae1d2300405fd9a">chargerTexture</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Charge les texture.  <a href="#a4789c8af09582cdf3ae1d2300405fd9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprimitives.html#a584aaf07a0b706b8af16980d759c5bd1">afficherRectangle</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche un rectangle.  <a href="#a584aaf07a0b706b8af16980d759c5bd1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprimitives.html#add96945b7e9290496ef1f62f4554b609">afficherPlafond</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche un plafond.  <a href="#add96945b7e9290496ef1f62f4554b609"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprimitives.html#a2e880dc986df6a237ab6ee157c16d6b0">afficherImage</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Affiche une image dans une projection 2D.  <a href="#a2e880dc986df6a237ab6ee157c16d6b0"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>affichage des primitives opengl </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Eric Maisel </dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>edité par Pierrick Troadec et Kawtar Hssain </dd></dl>
<dl class="date"><dt><b>Date:</b></dt><dd>28/12/2011 </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>1.2 </dd></dl>
<dl class="copyright"><dt><b>Copyright:</b></dt><dd>licence BSD </dd></dl>
</div><hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a2e880dc986df6a237ab6ee157c16d6b0"></a><!-- doxytag: member="primitives::afficherImage" ref="a2e880dc986df6a237ab6ee157c16d6b0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="namespaceprimitives.html#a2e880dc986df6a237ab6ee157c16d6b0">primitives.afficherImage</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>position</em> = <code>(0,0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>dimension</em> = <code>(1,1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>texture</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>couleur</em> = <code>(1.0,1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rep</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche une image dans une projection 2D. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>: position du rectangle à afficher dans l'espace </td></tr>
    <tr><td class="paramname">dimension</td><td>: longueur et largeur du rectangle </td></tr>
    <tr><td class="paramname">texture</td><td>: texture à appliquer sur le rectangle </td></tr>
    <tr><td class="paramname">couleur</td><td>: couleur à appliquer sur le rectangle en ca d'absence de texture </td></tr>
    <tr><td class="paramname">rep</td><td>: repetion de la texture sur le rectangle </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="primitives_8py_source.html#l00129">129</a> du fichier <a class="el" href="primitives_8py_source.html">primitives.py</a>.</p>

</div>
</div>
<a class="anchor" id="add96945b7e9290496ef1f62f4554b609"></a><!-- doxytag: member="primitives::afficherPlafond" ref="add96945b7e9290496ef1f62f4554b609" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="namespaceprimitives.html#add96945b7e9290496ef1f62f4554b609">primitives.afficherPlafond</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>position</em> = <code>(0.0,0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>dimensions</em> = <code>(1.0,1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>texture</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>couleur</em> = <code>(1.0,1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rep</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche un plafond. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>: position du rectangle à afficher dans l'espace </td></tr>
    <tr><td class="paramname">dimensions</td><td>: longueur et largeur du rectangle </td></tr>
    <tr><td class="paramname">texture</td><td>: texture a appliquer sur le rectangle </td></tr>
    <tr><td class="paramname">couleur</td><td>: couleur a appliquer sur le rectangle en ca d'absence de texture </td></tr>
    <tr><td class="paramname">rep</td><td>: répétion de la texture sur le rectangle </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="primitives_8py_source.html#l00094">94</a> du fichier <a class="el" href="primitives_8py_source.html">primitives.py</a>.</p>

</div>
</div>
<a class="anchor" id="a584aaf07a0b706b8af16980d759c5bd1"></a><!-- doxytag: member="primitives::afficherRectangle" ref="a584aaf07a0b706b8af16980d759c5bd1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="namespaceprimitives.html#a584aaf07a0b706b8af16980d759c5bd1">primitives.afficherRectangle</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>position</em> = <code>(0.0,0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>angle</em> = <code>0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>dimensions</em> = <code>(1.0,1.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>texture</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>couleur</em> = <code>(1.0,0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rep</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Affiche un rectangle. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">position</td><td>: position du rectangle à afficher dans l'espace </td></tr>
    <tr><td class="paramname">angle</td><td>: orientation du rectangle </td></tr>
    <tr><td class="paramname">dimensions</td><td>: longueur et largeur du rectangle </td></tr>
    <tr><td class="paramname">texture</td><td>: texture à appliquer sur le rectangle </td></tr>
    <tr><td class="paramname">couleur</td><td>: couleur à appliquer sur le rectangle en ca d'absence de texture </td></tr>
    <tr><td class="paramname">rep</td><td>: repetion de la texture sur le rectangle </td></tr>
  </table>
  </dd>
</dl>

<p>Définition à la ligne <a class="el" href="primitives_8py_source.html#l00047">47</a> du fichier <a class="el" href="primitives_8py_source.html">primitives.py</a>.</p>

</div>
</div>
<a class="anchor" id="a4789c8af09582cdf3ae1d2300405fd9a"></a><!-- doxytag: member="primitives::chargerTexture" ref="a4789c8af09582cdf3ae1d2300405fd9a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def <a class="el" href="namespaceprimitives.html#a4789c8af09582cdf3ae1d2300405fd9a">primitives.chargerTexture</a> </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>nom</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Charge les texture. </p>
<dl class="params"><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">nom</td><td>: nom du fichier à charger </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>texture : texture utilisable par le module opengl de pyglet </dd></dl>

<p>Définition à la ligne <a class="el" href="primitives_8py_source.html#l00028">28</a> du fichier <a class="el" href="primitives_8py_source.html">primitives.py</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Vendredi Décembre 30 2011 00:45:19 pour Secret Enib par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
